package com.cj.minio.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * (FileType)表实体类
 *
 * @author mjg
 * @since 2021-05-22 15:07:07
 */
@EqualsAndHashCode(callSuper = true)
@SuppressWarnings("serial")
@Data
public class FileType extends Model<FileType> {

    private Integer fileTypeId;
    //文件类型值
    private String fileTypeValue;
    //文件类型备注
    private String remark;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;


    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.fileTypeId;
    }
}
